package simple;

import com.grf.function.function.CustomizeInterface2;
import org.junit.jupiter.api.Test;

/**
 * @description：有参数无返回值
 * @author：guorf
 * @date：2024/8/17 12:11
 * @version：v1.0
 */
public class ConsumerInterfaceTest2 {

    public void test(CustomizeInterface2 custom){
        custom.test("this param");
    }

    @Test
    public void execute(){
        test( param -> System.out.printf("test："+param));
    }
}
